﻿
using KinectWindows.Math;
using SharpGL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KinectWindowLib
{
    // The main Display That all the visyal Elements will be placed in
    // It conian One Or more Screens
    public class Display
    {

        #region Singlton
        private static Display _display;
        public static Display CreatDisplay(OpenGL gl)
        {
            if (_display == null)
            {
                _display = new Display();
                _display.gl = gl;
            }
            return _display;
        }
        #endregion
     
        // The OpenGL Object that can be grabbed from any provider
        public OpenGL gl { set; get; }
    }
   
   
}
